type ID = number | string

type Point = { x: number; y: number; z?: number }

const printId = (id: ID) => id.toString()

printId(101) // OK
printId('202') // OK
